package JLB_Chapter_06;
// code_06_02
public class RefTest {
    public static void main(String[] args) {
        RefTest refTest = new RefTest();
        int[] i = { 0, 1, 2 };
        for(int row : i) {
            System.out.print(row + "   ");
        }
        System.out.println();
        refTest.change(i);
        for(int row : i) {
            System.out.print(row + "   ");
        }
    }
    public int[] change(int[] i) {
        i[0] = 100;
        i[1] = 200;
        i[2] = 300;
        return i;
    }
}
